import axios from '@/utils/request'

/**
 * 获取角色
 */
export function getTickerLogin(data) {
  return axios({
    url: '/v1/auth/ticketLogin',
    method: 'get',
    params: data
  })
}

/**
 * 获取用户信息
 */
export function getCurrentUser(params) {
  return axios({
    url: '/v1/auth/getCurrentUser',
    method: 'get',
    params
  })
}
